using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame4
{
    public class ExhaustEmitter : ParticleEmitter
    {
        public ExhaustEmitter()
            : base()
        {
            minScale = .5f;
            maxScale = 2;
            minRotSpeed = -180;
            maxRotSpeed = 180;
            nEmits = 3;
            scaleRate = -1;
            target = this;
        }
        public override GameObject CustomizeParticle(GameObject p)
        {
            p=base.CustomizeParticle(p);
            p.texture = GameManager.fireTextures[GameManager.random.Next(GameManager.nFires)];
            return p;
        }
    }
}
